package com.baidu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author ShiLei
 * @version v1.0
 * @date 2020-03-10 18:03
 * <p>
 * Payment 主启动类
 *
 * EnableDiscoveryClient 注解常用  可以获取服务注册中心下的服务以及服务的实例对象
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableEurekaClient
public class PaymentMain8001 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8001.class, args);
    }
}
